[IA64] Allocate frame table/mpt table at mfn=0
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 5 Dec 2006 20:42:37 +0000 (13:42 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 5 Dec 2006 20:42:37 +0000 (13:42 -0700)
commitcd8fb13cb42085779d1200273f342e6655ca4f54
tree4d6496e50a160f75179ba0f88fff47bc28f206d1
parent0013d074cd16389a2a71e3f5d6d7637a55c3cdd7
[IA64] Allocate frame table/mpt table at mfn=0

Allocate frame table/mpt table at mfn=0 even when memory isn't assigned at
mfn=0 as work around for transate_domain_pte().

transate_domain_pte() returns mfn=0 when the machine page isn't present
as a work around for memory mapped I/O where no device is assigned.
Xen might access page_info of mfn=0, so it must be guaranteed that it
exists. Otherwise xen panics with a tlb miss fault in xen's virtual
address area.

Once transate_domain_pte() is fixed correctly, this will be removed.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/xen/xenmem.c